package org.itboys.mdl.entity.mongo.information;

import org.itboys.mongodb.entity.BaseMongoEntity;
import org.mongodb.morphia.annotations.Entity;

/**
 * Created on 2017/12/1.
 * @author 朱坤涛
 * 资讯目录
 */
@Entity(value = "MdlPortalItem", noClassnameStored = true)
public class MdlPortalItem extends BaseMongoEntity{

    private String name; // 栏目名称
    private Integer type; // 栏目类别 1-单条信息 2-多条信息
    private String remark; // 备注信息
    private Integer isDeleted = 0;

    public String getName() {return name;}

    public void setName(String name) {this.name = name;}

    public Integer getType() {return type;}

    public void setType(Integer type) {this.type = type;}

    public String getRemark() {return remark;}

    public void setRemark(String remark) {this.remark = remark;}

    @Override
    public Integer getIsDeleted() {return isDeleted;}

    @Override
    public void setIsDeleted(Integer isDeleted) {this.isDeleted = isDeleted;}
}
